/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rbh.risk.model;

import com.rbh.risk.entity.Category;
import com.rbh.risk.entity.MainEvent;
import com.rbh.risk.entity.SeverityLevel;
import com.rbh.risk.entity.Workgroup;
import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author M
 */
public class SummaryDetailModel implements Serializable{
    private Workgroup parentWorkgroup;
    private Workgroup childWorkgroup;
    private MainEvent mainEvent;
    private Category category;
    private SeverityLevel severityLevel;
    private Date accidentTime;

    public SummaryDetailModel() {
    }

    public SummaryDetailModel(Workgroup parentWorkgroup, Workgroup childWorkgroup, MainEvent mainEvent, Category category, SeverityLevel severityLevel, Date accidentTime) {
        this.parentWorkgroup = parentWorkgroup;
        this.childWorkgroup = childWorkgroup;
        this.mainEvent = mainEvent;
        this.category = category;
        this.severityLevel = severityLevel;
        this.accidentTime = accidentTime;
    }

    public Workgroup getParentWorkgroup() {
        return parentWorkgroup;
    }

    public void setParentWorkgroup(Workgroup parentWorkgroup) {
        this.parentWorkgroup = parentWorkgroup;
    }

    public Workgroup getChildWorkgroup() {
        return childWorkgroup;
    }

    public void setChildWorkgroup(Workgroup childWorkgroup) {
        this.childWorkgroup = childWorkgroup;
    }

    public MainEvent getMainEvent() {
        return mainEvent;
    }

    public void setMainEvent(MainEvent mainEvent) {
        this.mainEvent = mainEvent;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public SeverityLevel getSeverityLevel() {
        return severityLevel;
    }

    public void setSeverityLevel(SeverityLevel severityLevel) {
        this.severityLevel = severityLevel;
    }

    public Date getAccidentTime() {
        return accidentTime;
    }

    public void setAccidentTime(Date accidentTime) {
        this.accidentTime = accidentTime;
    }
    
}
